home *** CD-ROM | disk | FTP | other *** search
/ J-Mac Electronics & Home Comics / J-Mac Electronics & Home Comics.iso / mac / J-MAC / G35F / G34_URAN.Dxr / 00004_“›—À€ýÞÿÁƒ.ls < prev    next >
Encoding:
Text File  |  1998-01-22  |  4.1 KB  |  203 lines

  1. global i, s, spno1, spno2, spno3, rcount, seizano, work_d, work_v, work_l, work_s, work_a, work_m, work_bad, workcast1, workcast2, badflg
  2.  
  3. on startMovie
  4.   set mycursor to [1, 175]
  5.   repeat with i = 10 to 21
  6.     set the cursor of sprite i to mycursor
  7.   end repeat
  8.   repeat with i = 23 to 32
  9.     set the cursor of sprite i to mycursor
  10.   end repeat
  11.   repeat with i = 34 to 35
  12.     set the cursor of sprite i to mycursor
  13.   end repeat
  14.   repeat with i = 37 to 39
  15.     set the cursor of sprite i to mycursor
  16.   end repeat
  17.   put the long date into field "テャツイテッt"
  18.   set spno1 to 0
  19.   set spno2 to 0
  20.   set spno3 to 0
  21.   repeat with i = 40 to 42
  22.     set the visible of sprite i to 0
  23.   end repeat
  24.   puppetSound(1, 1)
  25.   puppetSound(4, 1)
  26. end
  27.  
  28. on hilitecolor
  29.   repeat with i = 10 to 21
  30.     if i = spno1 then
  31.       puppetSprite(i, 1)
  32.       set the memberNum of sprite i to spno1 + 44
  33.       updateStage()
  34.       next repeat
  35.     end if
  36.     puppetSprite(i, 0)
  37.   end repeat
  38.   if spno1 <> 0 then
  39.     set the visible of sprite 40 to 0
  40.   end if
  41. end
  42.  
  43. on hilitesuuji
  44.   repeat with i = 23 to 32
  45.     if i = spno2 then
  46.       puppetSprite(i, 1)
  47.       set the memberNum of sprite i to spno2 + 53
  48.       updateStage()
  49.     end if
  50.     if i <> spno2 then
  51.       puppetSprite(i, 0)
  52.       updateStage()
  53.     end if
  54.   end repeat
  55.   if spno2 <> 0 then
  56.     set the visible of sprite 41 to 0
  57.   end if
  58. end
  59.  
  60. on checkstart
  61.   puppetSprite(37, 1)
  62.   set the memberNum of sprite 37 to 91
  63.   updateStage()
  64.   if spno1 = 0 then
  65.     set the visible of sprite 40 to 1
  66.     puppetSprite(37, 0)
  67.   end if
  68.   if spno2 = 0 then
  69.     set the visible of sprite 41 to 1
  70.     puppetSprite(37, 0)
  71.   end if
  72.   if spno3 = 0 then
  73.     set the visible of sprite 42 to 1
  74.     puppetSprite(37, 0)
  75.   end if
  76.   if (spno3 = 34) and (spno1 <> 0) and (spno2 <> 0) then
  77.     go("12speed")
  78.   end if
  79.   if (spno3 = 35) and (spno1 <> 0) and (spno2 <> 0) then
  80.     go("13speed")
  81.   end if
  82. end
  83.  
  84. on choicecrt
  85.   puppetSprite(2, 1)
  86.   puppetSprite(3, 1)
  87.   set the memberNum of sprite 2 to spno1 + 32
  88.   set the memberNum of sprite 3 to spno2 + 43
  89.   updateStage()
  90. end
  91.  
  92. on choicesinri
  93.   puppetSprite(5, 1)
  94.   set the memberNum of sprite 5 to spno1 + 99
  95.   puppetTransition(3, 8)
  96.   updateStage()
  97. end
  98.  
  99. on choiceseiza
  100.   set badflg to 0
  101.   keisan()
  102.   if (work_m = 0) or (work_m = work_bad) then
  103.     set badflg to 1
  104.     set workcast1 to 173
  105.     set workcast2 to 174
  106.   end if
  107.   if (badflg = 0) and (seizano = 12) then
  108.     set workcast1 to work_m + 122
  109.     set workcast2 to work_bad + 134
  110.   end if
  111.   if (badflg = 0) and (seizano = 13) then
  112.     set workcast1 to work_m + 146
  113.     set workcast2 to work_bad + 159
  114.   end if
  115. end
  116.  
  117. on goodcrt
  118.   if workcast1 = 173 then
  119.     puppetSound(4, "ツ テŸ")
  120.   else
  121.     puppetSound(4, "ツオツ静δ≫\コ1")
  122.   end if
  123.   puppetSprite(6, 1)
  124.   set the memberNum of sprite 6 to workcast1
  125.   puppetTransition(9, 8)
  126.   updateStage()
  127. end
  128.  
  129. on badcrt
  130.   if workcast1 = 173 then
  131.     puppetSound(4, "ツ鞘\伉絶\コ")
  132.   else
  133.     puppetSound(4, "ツオツ静δ≫\コ2")
  134.   end if
  135.   puppetSprite(7, 1)
  136.   set the memberNum of sprite 7 to workcast2
  137.   puppetTransition(9, 8)
  138.   updateStage()
  139. end
  140.  
  141. on kaijopuppet
  142.   repeat with i = 10 to 38
  143.     puppetSprite(i, 0)
  144.   end repeat
  145. end
  146.  
  147. on jump12
  148.   puppetSprite(spno3, 1)
  149.   set the memberNum of sprite spno3 to 87
  150.   updateStage()
  151.   puppetSprite(spno3 + 1, 0)
  152.   set the visible of sprite 42 to 0
  153.   set seizano to 12
  154.   go("12roll")
  155. end
  156.  
  157. on jump13
  158.   puppetSprite(spno3, 1)
  159.   set the memberNum of sprite spno3 to 89
  160.   updateStage()
  161.   puppetSprite(spno3 - 1, 0)
  162.   set the visible of sprite 42 to 0
  163.   set seizano to 13
  164.   go("13roll")
  165. end
  166.  
  167. on modori
  168.   repeat while the stillDown
  169.     puppetSprite(39, 1)
  170.     set the memberNum of sprite 39 to 100
  171.     updateStage()
  172.   end repeat
  173.   puppetSprite(39, 0)
  174.   repeat with i = 2 to 8
  175.     puppetSprite(i, 0)
  176.   end repeat
  177.   set spno1 to 0
  178.   set spno2 to 0
  179.   set spno3 to 0
  180.   puppetTransition(6, 8)
  181.   go("TOP")
  182. end
  183.  
  184. on crtcount
  185.   puppetSound(4, "テ\ツテ˜")
  186.   puppetSprite(36, 1)
  187.   set the memberNum of sprite 36 to 101 + rcount
  188.   updateStage()
  189. end
  190.  
  191. on domenuback
  192.   repeat while the stillDown
  193.     puppetSprite(38, 1)
  194.     set the memberNum of sprite 38 to 93
  195.     updateStage()
  196.   end repeat
  197.   puppetSprite(38, 0)
  198.   sound stop 1
  199.   sound stop 2
  200.   sound stop 4
  201.   go(1, "G34_ASAA")
  202. end
  203.